$(document).ready(function() {
	var select = $('#controller > select');
	var btn = $('#controller > :input');
	var ease = select.val();
	var box = $('#wrapper #box');

	select.change(function() {
		ease = $(this).val();
	});

	btn.click(function() {
		box.css('left', 50).stop().animate({
			left : '85%'
		}, {
			duration : 800,
			easing : ease
		});
	});
});